<h1 class="user-login-title">Вход</h1>
<div class="form user-login-form">

{WidgetActiveForm id="user-login-form" enableAjaxValidation=0 model=$userLoginForm}

    {afErrorSummary}

    <div class="row">
            {afLabelEx property='username'}
            {array assign="attr" class="small"}
            {afTextField property='username' attr=$attr}
            {afError property='username'}
    </div>

    <div class="row">
            {afLabelEx property='password'}
            {array assign="attr" class="small"}
            {afPasswordField property='password' attr=$attr}
            {afError property='password'}
    </div>

    <div class="row">
            {afLabelEx property='rememberMe'}
            {afCheckBox property='rememberMe'}
            {afError property='rememberMe'}
    </div>

        <div class="clear-floating"></div>
        <p class="note"><span class="required">*</span> - указаны поля, обязательные для заполнения</p>

	<div class="row buttons">
            {array assign="htmlOptions" class="popup-button submit"}
            {chtmlLink text="<span>Войти</span>" url="#" htmlOptions=$htmlOptions}
            {*chtmlLink text="Забыли пароль?" url="#"*}
        </div>
        <div class="row buttons">
            {chtmlLink text="Хотите зарегистрироваться?" url="/user/register"}<br/>
	</div>

{/WidgetActiveForm}

</div><!-- form -->